Skip to content

Comments

eth: fix panic in randomDuration when min equals max#33193

Merged
rjl493456442 merged 1 commit intoethereum:masterfrom
maradini77:patch-5
Nov 18, 2025
Merged

eth: fix panic in randomDuration when min equals max#33193
rjl493456442 merged 1 commit intoethereum:masterfrom
maradini77:patch-5

Conversation

@maradini77
Copy link
Contributor

Fixes a potential panic in randomDuration when min == max by handling the edge case explicitly.

@rjl493456442 rjl493456442 added this to the 1.16.8 milestone Nov 18, 2025
@rjl493456442 rjl493456442 merged commit e0d81d1 into ethereum:master Nov 18, 2025
7 of 8 checks passed
atkinsonholly pushed a commit to atkinsonholly/ephemery-geth that referenced this pull request Nov 24, 2025
Fixes a potential panic in `randomDuration` when `min == max` by
handling the edge case explicitly.
prestoalvarez pushed a commit to prestoalvarez/go-ethereum that referenced this pull request Nov 27, 2025
Fixes a potential panic in `randomDuration` when `min == max` by
handling the edge case explicitly.
fjl pushed a commit to lightclient/go-ethereum that referenced this pull request Nov 28, 2025
Fixes a potential panic in `randomDuration` when `min == max` by
handling the edge case explicitly.
weiihann pushed a commit to weiihann/go-ethereum that referenced this pull request Jan 14, 2026
Fixes a potential panic in `randomDuration` when `min == max` by
handling the edge case explicitly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants